CaptureSession

A browser capture session.

Since

7.20

Functions

Link copied to clipboard
abstract fun isActive(): Boolean
Indicates whether this capture session is active.
Link copied to clipboard
abstract fun <E : T?> on(eventClass: Class<E>, observer: Observer<E>): Subscription
Subscribes the given event observer to receive the events of the given eventClass.
Link copied to clipboard
abstract fun source(): CaptureSource
Returns the CaptureSource instance for this capture session.
Link copied to clipboard
abstract fun stop()
Stops capturing.
Link copied to clipboard
inline fun <E : Event> Observable<in E>.subscribe(observer: Observer<E>): Subscription
inline fun <E : Event> Observable<in E>.subscribe(observer: Observer<E>): Subscription

Subscribes the given observer to receive events of type E from this Observable.